package com.twl.app.base.util;

import org.springframework.stereotype.Service;
/***
 * 计算加法
 * @author uatzhangxc
 *
 */
@Service("testteNance")
public class TestteNance {
	 
	public static Double  getculation(Object...ob){
	       double num=0;
		 for (int i = 0; i < ob.length; i++) {
			      num +=(Double)ob[i];
			    
		}
		return num;
	}

}
